package com.zh.mapstruct;

import com.zh.pojo.bo.PayOrderBo;
import com.zh.pojo.domain.PayOrder;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * Pay 对象转换 映射结构
 */

@Mapper
public interface PayStructMapper {
    PayStructMapper INSTANCE = Mappers.getMapper(PayStructMapper.class);

    // OrderDto 对象 转换为 Order对象
    PayOrder payOrderBoConvertPayOrder(PayOrderBo payOrderBo);

}
